<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/common/taglibs.jsp" %>
   
<div class="pageContent">
	<form method="post" action="<#noparse>$</#noparse>{ctx}/${className?lower_case}/<#noparse>$</#noparse>{action}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		
		<input type="hidden" name="${pkFieldInfo.field}" value="<#noparse>$</#noparse>{${className?lower_case}.${pkFieldInfo.field}}"/>
		
		<div class="pageFormContent" layoutH="56">
			<#list records as rec>
			<#if rec.pk !='PRI'>
			<p>
				<label>${rec.comment}：</label>
				<input type="text" id="${className?lower_case}_${rec.field}" name="${rec.field}" class="required" value="<#noparse>$</#noparse>{${className?lower_case}.${rec.field}}" size="30" alt="请输入${rec.comment}"/>
			</p>
			</#if>
			</#list>
			 
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
